package com.ncucoder.soms.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * @author <a href="https://www.ncucoder.com">hsowan</a>
 * @date 2019-07-12
 **/
public class PropertyUtils {

    public static final Properties properties = new Properties();
    static {
        InputStream in = PropertyUtils.class.getClassLoader().getResourceAsStream("application.properties");
        try {
            properties.load(in);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
